package ooday05;

public class EnumDemo {
    public static void main(String[] args) {
        Season s1 = Season.SPRING;
        Season[] s5 = Season.values();


        System.out.println(s1.getSeasonDesc());
        System.out.println(s1.getSeasonName());

        switch(s1) {
            case SPRING:
            case SUMMER:
            case AUTUMN:
            case WINTER:
                System.out.println(s1.getSeasonDesc());
        }
    }
}
